package com.benmei.ntlive.vo;

/**
 * Created by Peter on 2018/10/23.
 */
public class HandsUpUser {
    public HandsUpUser(Integer uri,Integer membId, String membName, String membAvatar) {
        this.uid=uid;
        this.membId = membId;
        this.membName = membName;
        this.membAvatar = membAvatar;
    }

    private Integer uid;
    private Integer membId;
    private String membName;
    private String membAvatar;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getMembId() {
        return membId;
    }

    public void setMembId(Integer membId) {
        this.membId = membId;
    }

    public String getMembName() {
        return membName;
    }

    public void setMembName(String membName) {
        this.membName = membName;
    }

    public String getMembAvatar() {
        return membAvatar;
    }

    public void setMembAvatar(String membAvatar) {
        this.membAvatar = membAvatar;
    }


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        HandsUpUser that = (HandsUpUser) o;

        return membId != null ? membId.equals(that.membId) : that.membId == null;
    }

    @Override
    public int hashCode() {
        return membId != null ? membId.hashCode() : 0;
    }
}